package com.aaa.mrcai.service;

import com.aaa.mrcai.pojo.vo.RoleVO;
import com.aaa.mrcai.query.RoleQuery;
import com.aaa.mrcai.result.AjaxResult;

/**
 * @Author:Li-Yan-Chun
 * @Date:2021/12/15 22:39
 */
public interface RoleService {

    AjaxResult list(RoleQuery roleQuery);

    AjaxResult getState();

    AjaxResult roleList();

    AjaxResult add(RoleVO roleVO);

    AjaxResult addPerm(RoleVO roleVO);

    AjaxResult getOne(int id);

    AjaxResult updateRole(RoleVO roleVO);

    AjaxResult deletePerm(int id);

    AjaxResult deleteRole(int id);
}
